package com.hxht.cmp.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "t_cmp_on_time")
public class OnTime {
    @Id
    private Long id;

    /**
     * 案件uid
     */
    @Column(name = "case_uid")
    private String caseUid;

    /**
     * 法院uid
     */
    @Column(name = "court_uid")
    private String courtUid;

    /**
     * 计划开庭时间
     */
    @Column(name = "plan_start_date")
    private Date planStartDate;

    /**
     * 排期uid
     */
    @Column(name = "plan_uid")
    private String planUid;

    /**
     * 实际开庭时间
     */
    @Column(name = "start_date")
    private Date startDate;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取案件uid
     *
     * @return case_uid - 案件uid
     */
    public String getCaseUid() {
        return caseUid;
    }

    /**
     * 设置案件uid
     *
     * @param caseUid 案件uid
     */
    public void setCaseUid(String caseUid) {
        this.caseUid = caseUid == null ? null : caseUid.trim();
    }

    /**
     * 获取法院uid
     *
     * @return court_uid - 法院uid
     */
    public String getCourtUid() {
        return courtUid;
    }

    /**
     * 设置法院uid
     *
     * @param courtUid 法院uid
     */
    public void setCourtUid(String courtUid) {
        this.courtUid = courtUid == null ? null : courtUid.trim();
    }

    /**
     * 获取计划开庭时间
     *
     * @return plan_start_date - 计划开庭时间
     */
    public Date getPlanStartDate() {
        return planStartDate;
    }

    /**
     * 设置计划开庭时间
     *
     * @param planStartDate 计划开庭时间
     */
    public void setPlanStartDate(Date planStartDate) {
        this.planStartDate = planStartDate;
    }

    /**
     * 获取排期uid
     *
     * @return plan_uid - 排期uid
     */
    public String getPlanUid() {
        return planUid;
    }

    /**
     * 设置排期uid
     *
     * @param planUid 排期uid
     */
    public void setPlanUid(String planUid) {
        this.planUid = planUid == null ? null : planUid.trim();
    }

    /**
     * 获取实际开庭时间
     *
     * @return start_date - 实际开庭时间
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * 设置实际开庭时间
     *
     * @param startDate 实际开庭时间
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }
}